﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="EditNews.aspx.cs" Inherits="WeakEndForum.EditNews" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <div class="container">
        <div class="page-header">
            <span class="h2 RalewayFont"><span class="glyphicon glyphicon-edit"></span> Modifier un article</span>
        </div>
        <p>Contenu de l'article</p>
        <asp:RequiredFieldValidator ID="valRequieredEditMessageContent" ValidationGroup="editArticleValidation" ErrorMessage="Le contenu de l'article est obligatoire." ControlToValidate="txtEditNewsContent" Display="None" runat="server" />
        <asp:TextBox CssClass="form-control textarea inputBottomMargin" ValidationGroup="editArticleValidation" TextMode="MultiLine" ID="txtEditNewsContent" placeholder="Entrer du contenu..." runat="server" />
        <asp:ValidationSummary ID="validationSummEditArticle" CssClass="alert alert-danger" ValidationGroup="editArticleValidation" DisplayMode="BulletList" runat="server" />
        <asp:Button ID="btnEditNews" CssClass="btn btn-primary" ValidationGroup="editArticleValidation" OnClick="btnEditNews_Click" Text="Appliquer" runat="server" />
    </div> 
</asp:Content>
